Refining Light-Weight Formal Specifications Validations using Black Box Testing and Code Coverage Analysis: An Electrocardiograph Application
نویسنده
چکیده
Light-weight formal specifications are used to achieve a better understanding of the desired behavior of a system. The specification must correctly reflect the requirements that were expressed informally to the system being modeled. To validate specifications black-box testing technique had been widely used. Selecting test cases to validate the specification based only on the black-box testing technique makes it possible that we won’t be able to validate the whole formal specification. A complementary technique is code coverage analysis. Combining black-box testing and code coverage analysis will let us evaluate which part of the specification was not validated and thereby to create new test cases. This is reflected in a refined specification, more accurate and correct. As an example we present the light-weight formal specification in VDM++ of a digital electrocardiograph. The specification is based on the informal description of the performance characteristics of the electrocardiograph. Keywords—Software Engineering Design, Formal Methods, Testing, Software Process.
منابع مشابه
Distributed Black-Box Software Testing Using Negative Selection
In the software development process, testing is one of the most human intensive steps. Many researchers try to automate test case generation to reduce the manual labor of this step. Negative selection is a famous algorithm in the field of Artificial Immune System (AIS) and many different applications has been developed using its idea. In this paper we have designed a new algorithm based on nega...
متن کاملAutomated Black-Box Testing with Abstract VDM Oracles
In this paper the possibilities to automate black-box testing through formal requirement specifications are explored. More precisely, the formal method VDM (Vienna Development Method) serves to demonstrate that abstract requirement models can be used as test oracles for concrete software. The automation of the resulting testing frame-work is based on modern CASE-tools that support a light-weigh...
متن کاملData and Control Flow Analysis of VDMμ Specifications
Formal Specification languages are being widely used for system specification and testing. Highly critical systems such as real time systems, avionics, and medical systems are represented using Formal specification languages. Formal specifications based testing is mostly performed using black box testing approaches thus testing only the set of inputs and outputs of the system. The formal specif...
متن کاملSpecification-Based Testing for CoCasl's Modal Specifications
Specification-based testing is a particular case of black-box testing, which consists in deriving test cases from an analysis of a formal specification. We present in this paper an extension of the most popular and most efficient selection method widely used in the algebraic framework, called axiom unfolding, to coalgebraic specifications, using the modal logic provided by the CoCasl specificat...
متن کاملSystematic Black-Box Testing of Computer-Based Systems through Formal Abstraction Techniques
In the past of computer science, sometimes, a gap between the testing and the formal methods community could be observed. Testers did not believe in the applicability of formal verification techniques to real world problems, and formal methods’ advocates could not accept testing-techniques as an adequate verification method for producing correct software. However, today the gap is closing and t...
متن کامل